from flask import Flask

from flask_sqlalchemy import SQLAlchemy
from plantmanagement.lantu import users
app = Flask(__name__.split('.')[0])
app.config.from_pyfile('settings.py')

app.register_blueprint(users,url_prefix='/v1/users')

db = SQLAlchemy(app)
from plantmanagement import routes


